package com.ruoyi.demo2.domain;

import java.util.List;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 订单管理对象 orders
 * 
 * @author ruoyi
 * @date 2024-06-18
 */
public class Orders extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 订单ID */
    private Long ordersId;

    /** 客户ID */
    @Excel(name = "客户ID")
    private Long customersId;

    /** 联系ID */
    @Excel(name = "联系ID")
    private Long contecterId;

    /** 下单时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "下单时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date ordersTime;

    /** 发货姓名 */
    @Excel(name = "发货姓名")
    private String sendersName;

    /** 发货电话 */
    @Excel(name = "发货电话")
    private String sendersPhone;

    /** 发货城市 */
    @Excel(name = "发货城市")
    private String sendersAddress;

    /** 发货地址 */
    @Excel(name = "发货地址")
    private String sendersAddressDetail;

    /** 收货姓名 */
    @Excel(name = "收货姓名")
    private String receiversName;

    /** 收货电话 */
    @Excel(name = "收货电话")
    private String receiversPhone;

    /** 收货城市 */
    @Excel(name = "收货城市")
    private String receiversAddress;

    /** 收获地址 */
    @Excel(name = "收获地址")
    private String receiversAddressDetail;

    /** 货物管理信息 */
    private List<Packages> packagesList;

    public void setOrdersId(Long ordersId) 
    {
        this.ordersId = ordersId;
    }

    public Long getOrdersId() 
    {
        return ordersId;
    }
    public void setCustomersId(Long customersId) 
    {
        this.customersId = customersId;
    }

    public Long getCustomersId() 
    {
        return customersId;
    }
    public void setContecterId(Long contecterId) 
    {
        this.contecterId = contecterId;
    }

    public Long getContecterId() 
    {
        return contecterId;
    }
    public void setOrdersTime(Date ordersTime) 
    {
        this.ordersTime = ordersTime;
    }

    public Date getOrdersTime() 
    {
        return ordersTime;
    }
    public void setSendersName(String sendersName) 
    {
        this.sendersName = sendersName;
    }

    public String getSendersName() 
    {
        return sendersName;
    }
    public void setSendersPhone(String sendersPhone) 
    {
        this.sendersPhone = sendersPhone;
    }

    public String getSendersPhone() 
    {
        return sendersPhone;
    }
    public void setSendersAddress(String sendersAddress) 
    {
        this.sendersAddress = sendersAddress;
    }

    public String getSendersAddress() 
    {
        return sendersAddress;
    }
    public void setSendersAddressDetail(String sendersAddressDetail) 
    {
        this.sendersAddressDetail = sendersAddressDetail;
    }

    public String getSendersAddressDetail() 
    {
        return sendersAddressDetail;
    }
    public void setReceiversName(String receiversName) 
    {
        this.receiversName = receiversName;
    }

    public String getReceiversName() 
    {
        return receiversName;
    }
    public void setReceiversPhone(String receiversPhone) 
    {
        this.receiversPhone = receiversPhone;
    }

    public String getReceiversPhone() 
    {
        return receiversPhone;
    }
    public void setReceiversAddress(String receiversAddress) 
    {
        this.receiversAddress = receiversAddress;
    }

    public String getReceiversAddress() 
    {
        return receiversAddress;
    }
    public void setReceiversAddressDetail(String receiversAddressDetail) 
    {
        this.receiversAddressDetail = receiversAddressDetail;
    }

    public String getReceiversAddressDetail() 
    {
        return receiversAddressDetail;
    }

    public List<Packages> getPackagesList()
    {
        return packagesList;
    }

    public void setPackagesList(List<Packages> packagesList)
    {
        this.packagesList = packagesList;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("ordersId", getOrdersId())
            .append("customersId", getCustomersId())
            .append("contecterId", getContecterId())
            .append("ordersTime", getOrdersTime())
            .append("sendersName", getSendersName())
            .append("sendersPhone", getSendersPhone())
            .append("sendersAddress", getSendersAddress())
            .append("sendersAddressDetail", getSendersAddressDetail())
            .append("receiversName", getReceiversName())
            .append("receiversPhone", getReceiversPhone())
            .append("receiversAddress", getReceiversAddress())
            .append("receiversAddressDetail", getReceiversAddressDetail())
            .append("packagesList", getPackagesList())
            .toString();
    }
}
